package com.wlhse.service;

import com.wlhse.dto.CheckRecordDto;
import com.wlhse.dto.CountProblemDto;
import com.wlhse.dto.InMessage2;
import com.wlhse.dto.SupervisionTaskDto;
import com.wlhse.dto.inDto.CheckRecordInDto;
import com.wlhse.dto.inDto.SupervisionScopeInDto;
import com.wlhse.dto.outDto.CheckRecordRectRecord;
import com.wlhse.entity.DataDictPojo;
import com.wlhse.entity.EmployeePojo;
import com.wlhse.entity.Message2;
import com.wlhse.entity.SuperVisionAreaCompany;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupervisionTaskService2 {
    String querryTaskTime(String id,String date);
    String querryCheckLevel();
    String querryLoginName(String id);
    String querryCheckList();
    String querryCheckProject(String id);
    String querryCheckItem(String projectCode,String listID);
    String querryProblemType(String projectCode,String listID);
    String querryProblemRank(String projectCode,String listID);
    String querryProblemSourcr();
    String querryProblemGist(String projectCode,String listID);
    String querryTaskDetail(String id);
    String querryStaffTask(SupervisionTaskDto supervisionTaskDto);
    String querryTaskContent(String code);
    String querryCheckTable(String code);
    String querryCheckTableBySearch(String code,String value);
    String addActuaInspectionTimes(String code,String taskitem);
    String querryHazardFactors(String code);
    String queryUserMessgaer(@Param("id") String id);
    String addUserMessager(InMessage2 message2);
    String addCause();
    String querySubComEmployee(@Param("code") String code);
    String queryHSECheckPerson();
    String queryCheckpersonByCode(String companyCode);
    String querySubComUserEmployee(@Param("code") String code);
    String queryManageEmployee(String userID);
    String querySubComEmployeeByType(String code,String userID);
    String queryCheckRecordByID(CheckRecordInDto checkRecordInDto,String id);
    String updateCheckRecordByRecordID(CheckRecordDto checkRecordDto);
    String deleteCheckRecordByID(String id);
    String updateSupervisionScope(SupervisionScopeInDto supervisionScopeInDtos);
    String queryUserByRoleCode(String code);
    String queryAreaName();
    String queryCompleteCheckTable(String code);
    String queryUntreatedSupervisionArea(String areaID,String companyType,String staffID);
    String queryUntreatedCheckType(String code,String staffID);
    String querySupervisionAreaCompanyByArea(String areaName,String areaCode);
    String queryUntreatedCompanies(String name,String code);
    String updateSuperVisionAreaCompany(String code,List<SuperVisionAreaCompany> superVisionAreaCompanies);
    String queryCheckType();
    String queryCheckRound();
    String countProblemRank(CountProblemDto countProblemDto);
}
